package com.widetrust.carpro.dao.usermanage;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;

import com.widetrust.carpro.domain.insuranceorderpostil.InsuranceOrder_VO;
import com.widetrust.carpro.domain.test.User;
import com.widetrust.carpro.domain.tkmanage.TKTypeBean;
import com.widetrust.carpro.domain.usermanage.AgentBean;
import com.widetrust.carpro.domain.usermanage.UserManageBean;
import com.widetrust.carpro.domain.usermanage.UserTypeBean;
import com.widetrust.carpro.domain.userright.Users;
import com.widetrust.config.ConfigException;
import com.widetrust.orm.pageination.PageinationBean;
import com.widetrust.transdata.BsFormTable;

public interface IUserManageDao {
	public List<User> getUserLIst();
	public List<Users> findUser(String userid);
	public BsFormTable findAllUser(UserManageBean usermanageBean ,PageinationBean pageBean)throws ConfigException, SQLException;
	public List<Users> findAllPrinter();
	public List<Users> findPrinterandcomid(String BELONGCOMID);
	public boolean saveUser(UserManageBean userManageBean,String belongcomid);
	public List<AgentBean> readAgent();
	public List<UserTypeBean> readUserType();
	public boolean updateUser(Users users,String updateUser,String userid);
	public boolean updatePW(String PASSWD,String userid);
	public boolean deleteUser(String userid);
	public HashMap<String, Users> getUserMap();
}
